from django.shortcuts import render
from com.com_functions import load_class


# Create your views here.
# 加载页面函数
def load_page(request, c1, c2):
    get_class = load_class(c1, c2, request)
    if not get_class:
        return render(request, "404.html", {})
    return get_class.run()
